package view.controller;

import javafx.fxml.FXML;
import javafx.scene.control.Button;
import javafx.scene.control.TextArea;
import javafx.scene.control.TextField;
import javafx.scene.input.MouseEvent;
import javafx.scene.layout.AnchorPane;
import logic.FileSystem;
import logic.MyFile;


/**
 * Created with IntelliJ IDEA.
 *
 * @Author: SmartBoy
 * @Date: 2021/10/27/19:51
 * @Description:
 */
public class WriteWindowController {
    @FXML
    private AnchorPane pane;

    private MyFile file;

    @FXML
    public TextField filename;

    @FXML
    public TextArea content;

    @FXML
    public TextArea appendContent;

    @FXML
    public Button overwriteBtn;

    @FXML
    public Button appendBtn;

    @FXML
    public Button cancelBtn;

    public void setFile(MyFile file) {
        this.file = file;
    }
}
